package abc.xyz.ctl;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import my.dto.Result;

@RestController
public class MyCtl {
	
	@RequestMapping("/hi1")
	public String h1() {
		return "h1===============>欢迎您！";
	}
	
	@RequestMapping("/hi2")
	public Result h2() {
		return Result.successResult("大家好！");
	}

}
